{%
	local string_utils = require("mvc.utils.string_utils")
	local req = require("mvc.req")
	
	local ix = 10;
%}
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>添加用户</title>
	</head>
<body>
	{(include/header.html)}
  <h1>用户添加</h1>
	<br>
  
  {% for _,name in pairs(names) do %}
	<li> {{name}} </li>
  {% end %}
  
  <br>
  
  {{user.name}}, {{user.email}}
  
  <br>
  
  {* string_utils.is_blank({{user.name}}) *}
  
  <br>
  
  {* string_utils.rand(20) *}
    
  <br>
  
  {* num *} === {{num}}
  
  <br>
  
  {* num + 100 *} === {{num + 100}} == {* type(num) *}
  
  <br>
  
  {* str .. "&nbsp;hehe" *} === {{str .. "&nbsp;hehe"}} == {* type(str) *}
  
  <br>
  
  {* req.get_remote_addr() *}  
  
  <br>
  
  {% for i = 1, ix, 1 do%}
	<br> {{i}}
  {% end %}
  
  <br>
  
  {% if ix > 100 then %}
	{{ix}}
  {% else %}
	{{ix + 11}}
  {% end %}
  
  <br>
  
  {* ngx.today() *} == {* type(ngx.today()) *}, {* ngx.time() *}, {* ngx.now() *}, {* ngx.localtime() *}, {* ngx.utctime() *}
</body>
</html>

